﻿@model Arch.Samples.Model.Todo

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Todo</legend>

    <div class="display-label">Title</div>
    <div class="display-field">@Model.Title</div>

    <div class="display-label">Description</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">Version</div>
    <div class="display-field">@Model.Version</div>

    <div class="display-label">CreationDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.CreationDate)</div>

    <div class="display-label">UpdateDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.UpdateDate)</div>

    <div class="display-label">User</div>
    <div class="display-field">@Model.CreationUser</div>

    <div class="display-label">GlobalCategory</div>
    <div class="display-field">@Model.GlobalCategory</div>

    <div class="display-label">SubCategory</div>
    <div class="display-field">@Model.SubCategory</div>

</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>

